<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>首页三</title>
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, maximum-scale=1"
    />
    <link
      rel="stylesheet"
      href="../lib/layui-v2.5.5/css/layui.css"
      media="all"
    />
    <link
      rel="stylesheet"
      href="../lib/font-awesome-4.7.0/css/font-awesome.min.css"
      media="all"
    />
    <link rel="stylesheet" href="../css/public.css" media="all" />
    <style>
      /* 隐藏百度地图标注 */
      .anchorBL {
        display: none;
      }
      /******首页适配*****/
      .layui-card-header span {
        position: relative;
        top: -3px;
        left: 47%;
      }
      .layui-card-body i {
        position: absolute;
        top: 16px;
        left: 5%;
      }

      .BMap_bubble_title {
        color: black;
        font-size: 13px;
        font-weight: bold;
        text-align: left;
      }
      .BMap_pop div:nth-child(1) {
        border-radius: 7px 0 0 0;
      }
      .BMap_pop div:nth-child(3) {
        border-radius: 0 7px 0 0;
        background: #ababab;
        /*background: #ABABAB;*/
        width: 23px;
        width: 0px;
        height: 0px;
      }
      .BMap_pop div:nth-child(3) div {
        border-radius: 7px;
      }
      .BMap_pop div:nth-child(5) {
        border-radius: 0 0 0 7px;
      }
      .BMap_pop div:nth-child(5) div {
        border-radius: 7px;
      }
      .BMap_pop div:nth-child(7) {
        border-radius: 0 0 7px 0;
      }
      .BMap_pop div:nth-child(7) div {
        border-radius: 7px;
      }
      /*********************/
      .label {
        display: inline;
        padding: 0.2em 0.6em 0.3em;
        font-size: 75%;
        font-weight: 700;
        line-height: 1;
        color: #fff;
        text-align: center;
        white-space: nowrap;
        vertical-align: baseline;
        border-radius: 0.25em;
        margin-top: 1.3em;
      }
      .layui-card-header {
        text-align: left;
      }
      .label a {
        color: #fff;
        cursor: pointer;
      }

      .top-panel {
        border: 1px solid #eceff9;
        border-radius: 5px;
        text-align: center;
      }
      .top-panel > .layui-card-body {
        height: 70px;
      }
      .top-panel-number {
        line-height: 60px;
        font-size: 30px;
        border-right: 1px solid #eceff9;
      }
      .top-panel-tips {
        margin-top: -6px;
        line-height: 17px;
        font-size: 12px;
      }

      .top-panel-number span {
        margin: 51px;
        margin-left: 30px;
      }
      .top-panel-number b {
        color: currentcolor;
        font-size: 12px;
        margin-left: -45px;
      }
      .top-panel-number p {
        margin-top: -82px;
        margin-left: 75px;
        font-size: 12px;
      }

      .layui-badge-dot {
        margin: 2px;
      }

      body,
      html,
      #allmap {
        width: 100%;
        min-height: 100%;
        overflow: hidden;
        margin: 0;
        position: absolute;
      }
    </style>
  </head>
  <body>
    <!--<div class="layuimini-container">-->
    <div class="layuimini-main">
      <div class="layui-row layui-col-space15">
        <!-- <div class="layui-col-xs12 layui-col-md3">

            <div class="layui-card top-panel">
                <div class="layui-card-header">终端离线量</div>
                <div class="layui-card-body">
                    <div class="layui-row layui-col-space5">
                        <div class="layui-col-xs9 layui-col-md9 top-panel-number"><i class="fa fa-dashboard"></i><span id="off_line" ></span><b>/条</b></div>
                        <div class="layui-col-xs3 layui-col-md3 top-panel-tips">
                            比昨天 <a style="color: #1aa094">▲0.12</a><br>
                            比七日 <a style="color: #bd3004">▼0.06</a>
                        </div>
                    </div>
                </div>
            </div>

        </div> -->
        <div class="layui-col-xs12 layui-col-md3">
          <div class="layui-card top-panel">
            <div class="layui-card-header">
              电池异常量
              <span class="label layui-bg-green"
                ><a
                  layuimini-content-href="page/offline/HabnormalBattery.html"
                  data-title="电池异常"
                  data-icon="fa fa-gears"
                >
                  <i class="fa fa-gears"></i>
                  <cite>详情</cite>
                </a></span
              >
            </div>
            <div class="layui-card-body">
              <div class="layui-row layui-col-space5">
                <div class="layui-col-xs9 layui-col-md9 top-panel-number">
                  <i
                    style="font-size: 35px"
                    class="fa fa-battery-three-quarters"
                  ></i>
                  <p
                    style="
                      position: absolute;
                      top: 62px;
                      left: 8%;
                      white-space: nowrap;
                    "
                  >
                    正常&nbsp;<u id="normalCell" style="font-size: 28px"></u>
                    &nbsp;/条
                  </p>
                  <p
                    style="
                      position: absolute;
                      top: 103px;
                      left: 8%;
                      white-space: nowrap;
                    "
                  >
                    异常&nbsp;<u id="abnormalCell" style="font-size: 28px"></u>
                    &nbsp;/条
                  </p>
                </div>
                <!-- <div class="layui-col-xs3 layui-col-md3 top-panel-tips">
                            <div id="echarts-pies" style="min-height:54px;padding: 10px"></div>
                        </div> -->
              </div>
            </div>
          </div>
        </div>

        <div class="layui-col-xs12 layui-col-md1">
          <div
            class="layui-card top-panel"
            style="margin-left: -40px !important"
          >
            <div
              id="echarts-pies"
              style="min-height: 112px; padding: 10px"
            ></div>
          </div>
        </div>
        <div class="layui-col-xs12 layui-col-md3">
          <div class="layui-card top-panel">
            <div class="layui-card-header">
              异常数据量
              <span class="label layui-bg-green"
                ><a
                  layuimini-content-href="page/offline/HabnormalData.html"
                  data-title="异常数据"
                  data-icon="fa fa-gears"
                >
                  <i class="fa fa-gears"></i>
                  <cite>详情</cite>
                </a></span
              >
            </div>
            <div class="layui-card-body">
              <div class="layui-row layui-col-space5">
                <div class="layui-col-xs9 layui-col-md9 top-panel-number">
                  <i style="font-size: 40px" class="fa fa-heartbeat"></i>
                  <p
                    style="
                      position: absolute;
                      top: 62px;
                      left: 8%;
                      white-space: nowrap;
                    "
                  >
                    正常&nbsp;<u id="normalData" style="font-size: 28px"></u>
                    &nbsp;/条
                  </p>
                  <p
                    style="
                      position: absolute;
                      top: 103px;
                      left: 8%;
                      white-space: nowrap;
                    "
                  >
                    异常&nbsp;<u id="abnormalData" style="font-size: 28px"></u>
                    &nbsp;/条
                  </p>
                </div>
                <!-- <div class="layui-col-xs3 layui-col-md3 top-panel-tips">
                            <div id="echarts-pies" style="min-height:54px;padding: 10px"></div>
                        </div> -->
              </div>
            </div>
          </div>
        </div>

        <div class="layui-col-xs12 layui-col-md1">
          <div
            class="layui-card top-panel"
            style="margin-left: -40px !important"
          >
            <div
              id="echarts-pies1"
              style="min-height: 112px; padding: 10px"
            ></div>
          </div>
        </div>

        <div class="layui-col-xs12 layui-col-md3">
          <div class="layui-card top-panel">
            <div class="layui-card-header">
              终端离线率
              <span class="label layui-bg-green"
                ><a
                  layuimini-content-href="page/offline/HoffLine.html"
                  data-title="终端离线"
                  data-icon="fa fa-gears"
                >
                  <i class="fa fa-gears"></i>
                  <cite>详情</cite>
                </a></span
              >
            </div>
            <div class="layui-card-body">
              <div class="layui-row layui-col-space5">
                <div class="layui-col-xs9 layui-col-md9 top-panel-number">
                  <i class="fa fa-balance-scale"></i>
                  <p
                    style="
                      position: absolute;
                      top: 62px;
                      left: 8%;
                      white-space: nowrap;
                    "
                  >
                    在线&nbsp;<u id="online" style="font-size: 28px"></u>
                    &nbsp;/台
                  </p>
                  <p
                    style="
                      position: absolute;
                      top: 103px;
                      left: 8%;
                      white-space: nowrap;
                    "
                  >
                    离线&nbsp;<u id="offline" style="font-size: 28px"></u>
                    &nbsp;/台
                  </p>
                </div>
                <!-- <div class="layui-col-xs3 layui-col-md3 top-panel-tips">
                            <div id="echarts-pies" style="min-height:54px;padding: 10px"></div>
                        </div> -->
              </div>
            </div>
          </div>
        </div>

        <div class="layui-col-xs12 layui-col-md1">
          <div
            class="layui-card top-panel"
            style="margin-left: -40px !important"
          >
            <div
              id="echarts-pies2"
              style="min-height: 112px; padding: 10px"
            ></div>
          </div>
        </div>
      </div>

      <div class="layui-row layui-col-space15">
        <div class="layui-col-xs12 layui-col-md12">
          <!-- <div id="echarts-records" style="background-color:#ffffff;min-height:400px;padding: 10px"></div> -->
          <div id="allmap" style="height: 80vh; width: 99%"></div>
        </div>
        <!-- <div class="layui-col-xs12 layui-col-md3">
            <div id="echarts-pies" style="background-color:#ffffff;min-height:504px;padding: 10px"></div>
        </div> -->
      </div>

      <!-- <div class="layui-row layui-col-space15">
        <div class="layui-col-xs12 layui-col-md6">
            <div id="echarts-dataset" style="background-color:#ffffff;min-height:300px;padding: 10px"></div>
        </div>
        <div class="layui-col-xs12 layui-col-md6">
            <div id="echarts-map" style="background-color:#ffffff;min-height:300px;padding: 10px"></div>
        </div>
    </div> -->

      <a
        id="lopp"
        layuimini-content-href="page/Hdevices.html"
        data-title="设备列表"
      ></a>
    </div>
    <!--</div>-->
    <script src="../lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
    <script src="../js/lay-config.js?v=1.0.4" charset="utf-8"></script>
    <script src="../lib/dateTime/jquery-1.8.3.min.js"></script>
    <script
      type="text/javascript"
      src="http://api.map.baidu.com/getscript?v=2.0&ak=3SF6sDXfQnhzmlUKaprX2HoOeuZZMfvC"
    ></script>
    <script src="../js/lay-module/waterBoll/countUp.js"></script>
    <!-- <script src="../js/lay-module/waterBoll/MarkerClusterer_min.js"></script> -->
    <!-- <script src="../js/lay-module/waterBoll/TextIconOverlay_min.js"></script> -->
    <script
      type="text/javascript"
      src="http://api.map.baidu.com/library/MarkerClusterer/1.2/src/MarkerClusterer_min.js"
    ></script>
    <script
      type="text/javascript"
      src="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js"
    ></script>
    <!-- <script src="../js/lay-module/waterBoll/echarts.js"></script> -->
    <!-- <script src="../js/lay-module/waterBoll/echarts-liquidfill.min.js"></script> -->
    <script src="../js/index.js"></script>
    <script src="../js/map.js"></script>
    <script>
      /************首页数字缓动配置******/
      var options = {
        useEasing: true,
        useGrouping: true,
        separator: ",",
        decimal: ".",
      };
      /*********************************/

      // window.onresize = function(){
      //         console.log(582);
      //         // var  myChart = document.getElementById("echarts-pies2");
      //         // myChart.removeAttribute()
      //         // console.log(myChart);
      //         // $('#layuiminiHomeTabIframe').window.location.reload()
      //         // document.getElementById('layuiminiHomeTabIframe').contentWindow.location.reload();
      //         $('#iframe').attr('src', $('#iframe').attr('src'));
      //     }
    </script>
  </body>
</html>
